// 用量统计
<template>
  <el-card class="box-card">
    <div class="title">
      <div class="title_box">
        <div class="title_icon"></div>
        <div class="title_value">用量统计(m³)</div>
      </div>
      <div class="title_more">
        <img src="../../assets/icons/more.png" alt="" class="more_img" />
      </div>
    </div>
    <div class="dosage_detail">
      <el-row :gutter="10">
        <el-col :span="8">
          <div class="dosageStic_item dosageStic_item1">
            <div class="dosageStic_top">
              <div class="dosageStic_img">
                <img src="./images/dayIcon.png" />
              </div>
            </div>
            <div class="deviceStic_item_bm">
              <div class="deviceStic_item_bm_lf">
                <div class="deviceStic_count">0</div>
                <div class="deviceStic_title">昨日用气量</div>
              </div>
              <div class="deviceStic_item_bm_rf">
                <div class="deviceStic_count">0</div>
                <div class="deviceStic_title">去年同期</div>
              </div>
            </div>
          </div>
        </el-col>
        <el-col :span="8">
          <div class="dosageStic_item dosageStic_item2">
            <div class="dosageStic_top">
              <div class="dosageStic_img">
                <img src="./images/monthIcon.png" />
              </div>
            </div>
            <div class="deviceStic_item_bm">
              <div class="deviceStic_item_bm_lf">
                <div class="deviceStic_count">0</div>
                <div class="deviceStic_title">上月用气量</div>
              </div>
              <div class="deviceStic_item_bm_rf">
                <div class="deviceStic_count">0</div>
                <div class="deviceStic_title">去年同期</div>
              </div>
            </div>
          </div>
        </el-col>
        <el-col :span="8">
          <div class="dosageStic_item dosageStic_item3">
            <div class="dosageStic_top">
              <div class="dosageStic_img">
                <img src="./images/yearIcon.png" />
              </div>
            </div>
            <div class="deviceStic_item_bm">
              <div class="deviceStic_item_bm_lf">
                <div class="deviceStic_count">0</div>
                <div class="deviceStic_title">今年用气量</div>
              </div>
              <div class="deviceStic_item_bm_rf">
                <div class="deviceStic_count">0</div>
                <div class="deviceStic_title">去年同期</div>
              </div>
            </div>
          </div>
        </el-col>
      </el-row>
    </div>
  </el-card>
</template>
<script>
export default {
  data() {
    return {};
  },
  mounted() {},
  methods: {},
};
</script>
<style scoped lang="scss">
.box-card {
  margin-bottom: 10px;
}
.title {
  height: 28px;
  color: #303133;
  font-weight: 700;
  line-height: 28px;
  padding-left: 10px;
  display: flex;
  padding-left: 10px;
  justify-content: space-between;
  margin-bottom: 10px;
  align-items: center;
  .title_box {
    width: 200px;
    display: flex;
    align-items: center;
    .title_icon {
      width: 4px;
      height: 18px;
      background-color: #d26454;
      border-radius: 4px;
      margin-right: 10px;
    }
  }

  .title_more {
    width: 24px;
    height: 28px;
    .more_img {
      display: inline-block;
      width: 24px;
      height: 28px;
    }
  }
}
.dosage_detail {
  .dosageStic_item {
    .dosageStic_top {
      display: flex;
      align-items: center;
      justify-content: center;
      height: 70px;
      .dosageStic_img {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        img {
          width: 30px;
          height: 30px;
        }
      }
    }
    .deviceStic_item_bm {
      display: flex;
      align-items: center;
      justify-content: space-around;
      .deviceStic_count {
        height: 65px;
        line-height: 65px;
        font-size: 18px;
        font-weight: 700;
        text-align: center;
      }
      .deviceStic_title {
        font-size: 14px;
        color: #838f9e;
        text-align: center;
      }
    }
  }
  .dosageStic_item1 {
    .dosageStic_img {
      background-color: rgb(247, 248, 255);
    }
    .deviceStic_count {
      color: rgb(90, 110, 255);
    }
  }
  .dosageStic_item2 {
    .dosageStic_img {
      background-color: rgb(245, 250, 247);
    }
    .deviceStic_count {
      color: rgb(124, 221, 171);
    }
  }
  .dosageStic_item3 {
    .dosageStic_img {
      background-color: rgb(255, 245, 251);
    }
    .deviceStic_count {
      color: rgb(255, 92, 112);
    }
  }
}
</style>
